package com.sskj.trafficcontrol.dao;

import org.apache.ibatis.annotations.Mapper;
import org.apache.ibatis.annotations.Param;
import org.springframework.stereotype.Component;
import org.springframework.stereotype.Repository;

@Mapper
@Repository
public interface UserIntegralDao {
    void addIntegralDao(@Param("openid") String openid);

    void updateUserIntegral(@Param("openid") String openid);

    int getTotalIntegral(@Param("open_id") String open_id);
}
